package com.yonyou.brigade.order_center.model;

import java.math.BigDecimal;
import java.sql.Time;
import java.util.Date;

/**
 * @Auther: houyb
 * @Date: 2019/1/9
 * @Description:
 */

public class CnvTrainOrderDO {
    /**
     * 订单编号（订单中心）
     */
    private int id;

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 用户userId
     */
    private String userId;
    /**
     * 租户ID
     */
    private String tenant;

    /**
     * 差旅类型
     */
    private String publicOrPriveate;

    /**
     * 国内国际类型
     */
    private String isDomc;

    /**
     * 溢价原因
     */
    private String preiumReason;

    /**
     * 溢价详情
     */
    private String preiumDetail;

    /**
     * 订单状态类型
     */
    private String statusType;

    /**
     * 节省金额
     */
    private BigDecimal savePrice;

    /**
     * 创建人
     */
    private String createBy;


    /**
     * 创建时间
     */
    private Date orderTime;

    /**
     * 支付金额
     */
    private BigDecimal paymentPrice;

    /**
     * 联系人
     */
    private String linkName;

    /**
     * 联系电话
     */
    private String linkPhone;


    /**
     * 实退金额
     */
    private BigDecimal refundPrice;
    /**
     * 退票费
     */
    private BigDecimal tpPrice;
    /**
     * 服务费
     */
    private BigDecimal sumCounterFee;
    /**
     * 改签总变更费
     */
    private BigDecimal carrierSumFee;

    /**
     * 支付方式
     */
    private String paymentType;

    /**
     * 火车票来源
     */
    private String fromType;
    /**
     * 纸质票出票费
     */
    private BigDecimal paperTicketFee;

    /**
     * 12306订单号
     */
    private String trainOrderNo;

    /**
     * 出行人
     */
    private String passenger;

    /**
     * 支付类型
     */
    private String payType;

    /**
     * 订单类型
     */
    private String orderType;
    /**
     * 报销状态
     */
    private String bxState;
    /**
     * 车票张数
     */
    private Integer ticketsNum;

    /**
     * 授权状态
     */
    private String authStatus;

    /**
     * 结算币种
     */
    private String currency;

    /**
     * 预订方式
     */
    private String preOrderMode;

    /**
     * 最晚允许支付时间
     */
    private Date allowPayDate;
    /**
     * 原订单号
     */
    private String parentOrderNo;

    /**
     * 备注
     */
    private String note;

    /**
     * 关联申请单号
     */
    private String relateOtherID;

    /**
     * 关联行程号
     */
    private String relateYBZID;

    /**
     * 商旅标记
     */
    private String category;



    //----------------------
    /**
     * 去程票价
     */
    private BigDecimal tktPrice;
    /**
     * 去程车次
     */
    private String trainCode;
    /**
     * 去程车次名称
     */
    private String trainCodeName;

    /**
     * 去程出发车站
     */
    private String fromStation;

    /**
     * 去程到达车站
     */
    private String toStation;

    /**
     * 去程出发日期
     */
    private Date trainDate;

    /**
     * 去程出发时间
     */
    private Time fromTime;


    /**
     * 去程到达日期
     */
    private Date toDate;

    /**
     * 去程到达时间
     */
    private Time toTime;



    /**
     * 去程时长
     */
    private String tunTime;

    /**
     * 去程座位类型：一等座
     */
    private String seatType;

    /**
     * 去程车厢
     */
    private String trainBox;
    /**
     * 去程座位号
     */
    private String seatNo;


    /**
     * 返程票价
     */
    private BigDecimal tktPrice2;
    /**
     * 返程车次
     */
    private String trainCode2;
    /**
     * 返程车次名称
     */
    private String trainCodeName2;

    /**
     * 返程出发车站
     */
    private String fromStation2;

    /**
     * 返程到达车站
     */
    private String toStation2;

    /**
     * 返程出发日期
     */
    private Date trainDate2;

    /**
     * 返程出发时间
     */
    private Time fromTime2;


    /**
     * 返程到达日期
     */
    private Date toDate2;

    /**
     * 返程到达日期
     */
    private Time toTime2;


    /**
     * 返程时长
     */
    private String tunTime2;

    /**
     * 返程座位类型：一等座
     */
    private String seatType2;

    /**
     * 返程车厢
     */
    private String trainBox2;
    /**
     * 返程座位号
     */
    private String seatNo2;
    /**
     * 去程服务费（单张）
     */
    private BigDecimal counterFee;
    /**
     * 返程服务费（单张）
     */
    private BigDecimal counterFee2;
    /**
     * 乘车人员工编号
     */
    private String OAUserCode;

    /**
     * 报销费
     */
    private BigDecimal sumInsMoney;

    /**
     * 送票费
     */
    private BigDecimal sendTicketFee;


    private BigDecimal carrierChangeFee;

    public BigDecimal getCarrierChangeFee() {
        return carrierChangeFee;
    }

    public void setCarrierChangeFee(BigDecimal carrierChangeFee) {
        this.carrierChangeFee = carrierChangeFee;
    }

    public BigDecimal getSendTicketFee() {
        return sendTicketFee;
    }

    public void setSendTicketFee(BigDecimal sendTicketFee) {
        this.sendTicketFee = sendTicketFee;
    }

    public String getPreiumDetail() {
        return preiumDetail;
    }

    public void setPreiumDetail(String preiumDetail) {
        this.preiumDetail = preiumDetail;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTenant() {
        return tenant;
    }

    public void setTenant(String tenant) {
        this.tenant = tenant;
    }

    public String getPublicOrPriveate() {
        return publicOrPriveate;
    }

    public void setPublicOrPriveate(String publicOrPriveate) {
        this.publicOrPriveate = publicOrPriveate;
    }

    public String getIsDomc() {
        return isDomc;
    }

    public void setIsDomc(String isDomc) {
        this.isDomc = isDomc;
    }

    public String getPreiumReason() {
        return preiumReason;
    }

    public void setPreiumReason(String preiumReason) {
        this.preiumReason = preiumReason;
    }

    public String getStatusType() {
        return statusType;
    }

    public void setStatusType(String statusType) {
        this.statusType = statusType;
    }

    public BigDecimal getSavePrice() {
        return savePrice;
    }

    public void setSavePrice(BigDecimal savePrice) {
        this.savePrice = savePrice;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public BigDecimal getPaymentPrice() {
        return paymentPrice;
    }

    public void setPaymentPrice(BigDecimal paymentPrice) {
        this.paymentPrice = paymentPrice;
    }

    public String getLinkName() {
        return linkName;
    }

    public void setLinkName(String linkName) {
        this.linkName = linkName;
    }

    public String getLinkPhone() {
        return linkPhone;
    }

    public void setLinkPhone(String linkPhone) {
        this.linkPhone = linkPhone;
    }

    public BigDecimal getRefundPrice() {
        return refundPrice;
    }

    public void setRefundPrice(BigDecimal refundPrice) {
        this.refundPrice = refundPrice;
    }

    public BigDecimal getTpPrice() {
        return tpPrice;
    }

    public void setTpPrice(BigDecimal tpPrice) {
        this.tpPrice = tpPrice;
    }

    public BigDecimal getSumCounterFee() {
        return sumCounterFee;
    }

    public void setSumCounterFee(BigDecimal sumCounterFee) {
        this.sumCounterFee = sumCounterFee;
    }

    public BigDecimal getCarrierSumFee() {
        return carrierSumFee;
    }

    public void setCarrierSumFee(BigDecimal carrierSumFee) {
        this.carrierSumFee = carrierSumFee;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    public String getFromType() {
        return fromType;
    }

    public void setFromType(String fromType) {
        this.fromType = fromType;
    }

    public BigDecimal getPaperTicketFee() {
        return paperTicketFee;
    }

    public void setPaperTicketFee(BigDecimal paperTicketFee) {
        this.paperTicketFee = paperTicketFee;
    }

    public String getTrainOrderNo() {
        return trainOrderNo;
    }

    public void setTrainOrderNo(String trainOrderNo) {
        this.trainOrderNo = trainOrderNo;
    }

    public String getPassenger() {
        return passenger;
    }

    public void setPassenger(String passenger) {
        this.passenger = passenger;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getBxState() {
        return bxState;
    }

    public void setBxState(String bxState) {
        this.bxState = bxState;
    }

    public Integer getTicketsNum() {
        return ticketsNum;
    }

    public void setTicketsNum(Integer ticketsNum) {
        this.ticketsNum = ticketsNum;
    }

    public String getAuthStatus() {
        return authStatus;
    }

    public void setAuthStatus(String authStatus) {
        this.authStatus = authStatus;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getPreOrderMode() {
        return preOrderMode;
    }

    public void setPreOrderMode(String preOrderMode) {
        this.preOrderMode = preOrderMode;
    }

    public Date getAllowPayDate() {
        return allowPayDate;
    }

    public void setAllowPayDate(Date allowPayDate) {
        this.allowPayDate = allowPayDate;
    }

    public String getParentOrderNo() {
        return parentOrderNo;
    }

    public void setParentOrderNo(String parentOrderNo) {
        this.parentOrderNo = parentOrderNo;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getRelateOtherID() {
        return relateOtherID;
    }

    public void setRelateOtherID(String relateOtherID) {
        this.relateOtherID = relateOtherID;
    }

    public String getRelateYBZID() {
        return relateYBZID;
    }

    public void setRelateYBZID(String relateYBZID) {
        this.relateYBZID = relateYBZID;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public BigDecimal getTktPrice() {
        return tktPrice;
    }

    public void setTktPrice(BigDecimal tktPrice) {
        this.tktPrice = tktPrice;
    }

    public String getTrainCode() {
        return trainCode;
    }

    public void setTrainCode(String trainCode) {
        this.trainCode = trainCode;
    }

    public String getTrainCodeName() {
        return trainCodeName;
    }

    public void setTrainCodeName(String trainCodeName) {
        this.trainCodeName = trainCodeName;
    }

    public String getFromStation() {
        return fromStation;
    }

    public void setFromStation(String fromStation) {
        this.fromStation = fromStation;
    }

    public String getToStation() {
        return toStation;
    }

    public void setToStation(String toStation) {
        this.toStation = toStation;
    }

    public Date getTrainDate() {
        return trainDate;
    }

    public void setTrainDate(Date trainDate) {
        this.trainDate = trainDate;
    }

    public Time getFromTime() {
        return fromTime;
    }

    public void setFromTime(Time fromTime) {
        this.fromTime = fromTime;
    }



    public Date getToDate() {
        return toDate;
    }

    public void setToDate(Date toDate) {
        this.toDate = toDate;
    }

    public Time getToTime() {
        return toTime;
    }

    public void setToTime(Time toTime) {
        this.toTime = toTime;
    }


    public String getTunTime() {
        return tunTime;
    }

    public void setTunTime(String tunTime) {
        this.tunTime = tunTime;
    }

    public String getSeatType() {
        return seatType;
    }

    public void setSeatType(String seatType) {
        this.seatType = seatType;
    }

    public String getTrainBox() {
        return trainBox;
    }

    public void setTrainBox(String trainBox) {
        this.trainBox = trainBox;
    }

    public String getSeatNo() {
        return seatNo;
    }

    public void setSeatNo(String seatNo) {
        this.seatNo = seatNo;
    }

    public BigDecimal getTktPrice2() {
        return tktPrice2;
    }

    public void setTktPrice2(BigDecimal tktPrice2) {
        this.tktPrice2 = tktPrice2;
    }

    public String getTrainCode2() {
        return trainCode2;
    }

    public void setTrainCode2(String trainCode2) {
        this.trainCode2 = trainCode2;
    }

    public String getTrainCodeName2() {
        return trainCodeName2;
    }

    public void setTrainCodeName2(String trainCodeName2) {
        this.trainCodeName2 = trainCodeName2;
    }

    public String getFromStation2() {
        return fromStation2;
    }

    public void setFromStation2(String fromStation2) {
        this.fromStation2 = fromStation2;
    }

    public String getToStation2() {
        return toStation2;
    }

    public void setToStation2(String toStation2) {
        this.toStation2 = toStation2;
    }

    public Date getTrainDate2() {
        return trainDate2;
    }

    public void setTrainDate2(Date trainDate2) {
        this.trainDate2 = trainDate2;
    }

    public Time getFromTime2() {
        return fromTime2;
    }

    public void setFromTime2(Time fromTime2) {
        this.fromTime2 = fromTime2;
    }


    public Date getToDate2() {
        return toDate2;
    }

    public void setToDate2(Date toDate2) {
        this.toDate2 = toDate2;
    }

    public Time getToTime2() {
        return toTime2;
    }

    public void setToTime2(Time toTime2) {
        this.toTime2 = toTime2;
    }


    public String getTunTime2() {
        return tunTime2;
    }

    public void setTunTime2(String tunTime2) {
        this.tunTime2 = tunTime2;
    }

    public String getSeatType2() {
        return seatType2;
    }

    public void setSeatType2(String seatType2) {
        this.seatType2 = seatType2;
    }

    public String getTrainBox2() {
        return trainBox2;
    }

    public void setTrainBox2(String trainBox2) {
        this.trainBox2 = trainBox2;
    }

    public String getSeatNo2() {
        return seatNo2;
    }

    public void setSeatNo2(String seatNo2) {
        this.seatNo2 = seatNo2;
    }

    public BigDecimal getCounterFee() {
        return counterFee;
    }

    public void setCounterFee(BigDecimal counterFee) {
        this.counterFee = counterFee;
    }

    public BigDecimal getCounterFee2() {
        return counterFee2;
    }

    public void setCounterFee2(BigDecimal counterFee2) {
        this.counterFee2 = counterFee2;
    }

    public String getOAUserCode() {
        return OAUserCode;
    }

    public void setOAUserCode(String OAUserCode) {
        this.OAUserCode = OAUserCode;
    }

    public BigDecimal getSumInsMoney() {
        return sumInsMoney;
    }

    public void setSumInsMoney(BigDecimal sumInsMoney) {
        this.sumInsMoney = sumInsMoney;
    }

    public static final String TRAIN = "train";

    @Override
    public String toString() {
        return "CnvTrainOrderDO{" +
                "id=" + id +
                ", orderNo='" + orderNo + '\'' +
                ", userId='" + userId + '\'' +
                ", tenant='" + tenant + '\'' +
                ", publicOrPriveate='" + publicOrPriveate + '\'' +
                ", isDomc='" + isDomc + '\'' +
                ", preiumReason='" + preiumReason + '\'' +
                ", statusType='" + statusType + '\'' +
                ", savePrice=" + savePrice +
                ", createBy='" + createBy + '\'' +
                ", orderTime=" + orderTime +
                ", paymentPrice=" + paymentPrice +
                ", linkName='" + linkName + '\'' +
                ", linkPhone='" + linkPhone + '\'' +
                ", refundPrice=" + refundPrice +
                ", tpPrice=" + tpPrice +
                ", sumCounterFee=" + sumCounterFee +
                ", carrierSumFee=" + carrierSumFee +
                ", paymentType='" + paymentType + '\'' +
                ", fromType='" + fromType + '\'' +
                ", paperTicketFee=" + paperTicketFee +
                ", trainOrderNo='" + trainOrderNo + '\'' +
                ", passenger='" + passenger + '\'' +
                ", payType='" + payType + '\'' +
                ", orderType='" + orderType + '\'' +
                ", bxState='" + bxState + '\'' +
                ", ticketsNum=" + ticketsNum +
                ", authStatus='" + authStatus + '\'' +
                ", currency='" + currency + '\'' +
                ", preOrderMode='" + preOrderMode + '\'' +
                ", allowPayDate=" + allowPayDate +
                ", parentOrderNo='" + parentOrderNo + '\'' +
                ", note='" + note + '\'' +
                ", relateOtherID='" + relateOtherID + '\'' +
                ", relateYBZID='" + relateYBZID + '\'' +
                ", category='" + category + '\'' +
                ", tktPrice=" + tktPrice +
                ", trainCode='" + trainCode + '\'' +
                ", trainCodeName='" + trainCodeName + '\'' +
                ", fromStation='" + fromStation + '\'' +
                ", toStation='" + toStation + '\'' +
                ", trainDate=" + trainDate +
                ", fromTime=" + fromTime +
                ", toDate=" + toDate +
                ", toTime=" + toTime +
                ", tunTime='" + tunTime + '\'' +
                ", seatType='" + seatType + '\'' +
                ", trainBox='" + trainBox + '\'' +
                ", seatNo='" + seatNo + '\'' +
                ", tktPrice2=" + tktPrice2 +
                ", trainCode2='" + trainCode2 + '\'' +
                ", trainCodeName2='" + trainCodeName2 + '\'' +
                ", fromStation2='" + fromStation2 + '\'' +
                ", toStation2='" + toStation2 + '\'' +
                ", trainDate2=" + trainDate2 +
                ", fromTime2=" + fromTime2 +
                ", toDate2=" + toDate2 +
                ", toTime2=" + toTime2 +
                ", tunTime2='" + tunTime2 + '\'' +
                ", seatType2='" + seatType2 + '\'' +
                ", trainBox2='" + trainBox2 + '\'' +
                ", seatNo2='" + seatNo2 + '\'' +
                ", counterFee='" + counterFee + '\'' +
                ", counterFee2='" + counterFee2 + '\'' +
                '}';
    }
}
